#include "net_api.h"



sNet_IO  Net_IO;

sNet    Net_Api;


extern 	const sNet wifi_netapi;
extern	const sNet gsm_netapi;

FIFO_Type   fifo_get;

unsigned char 	data_fifo[512];

void NetApi_Init(eNetType nettype)
{
	if(nettype == Net_Wifi){
		Net_Api = wifi_netapi;
	}else{
		Net_Api = gsm_netapi;
	}
	FIFO_Init(&fifo_get,data_fifo,1,512);
}

